package heightMap;

public class HeightMap {
	private int size;
	private int[][] map;

	public HeightMap(int size) {
		this.size = size;
		map = new int[size][size];

		for (int i = 0; i < size; i++) {
			for (int j = 0; j < size; j++) {
				map[i][j] = 1;
			}
		}
	}

	public void setMap(int[][] map) {
		this.map = map.clone();
	}

	public int[][] getMap() {
		return map;
	}

	public int getSize() {
		return size;
	}
}
